package com.winsdom.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户票据配置表
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Data
@Accessors(chain = true)
@TableName("customer_billing_config")
public class CustomerBillingConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户票据配置ID
     */
    @TableId(value = "config_id", type = IdType.AUTO)
    private Long configId;

    /**
     * 关联客户ID
     */
    private Long customerId;

    /**
     * 票据类型
     */
    private String billingType;

    /**
     * 开票方式
     */
    private String billingMethod;

    /**
     * 是否开启自定义备注
     */
    private Integer customRemarkEnabled;

    /**
     * 是否自动开具
     */
    private Integer autoBillingEnabled;

    /**
     * 开票规则
     */
    private String billingRule;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
